<?php
/**
 * Created by PhpStorm.
 * User: cc
 * Date: 2023/1/11
 * Time: 1:46 PM
 */

namespace app\web\controller;

use app\common\cachemodel\AppConfig;
use think\Controller;
use think\Env;

class OfficialWeb extends Controller
{
    public function index()
    {
        $appConfig = (new AppConfig())->configInfo('app');
        $appApk = Env::get('host.photo') . $appConfig['huawei_app_apk'];
        return $this->fetch('index', ['app_apk' => $appApk]);
    }
}
